%ifndef __NASMX_COMCTL32_INC__
%define __NASMX_COMCTL32_INC__

IMPORT AddMRUStringW, 8
IMPORT CreateMRUListW, 4
IMPORT CreateMappedBitmap, 20
IMPORT CreatePropertySheetPageA, 4
IMPORT CreatePropertySheetPageW, 4
IMPORT CreateStatusWindowA, 16
IMPORT CreateStatusWindowW, 16
IMPORT CreateToolbarEx, 52
IMPORT CreateUpDownControl, 48
IMPORT DPA_DeleteAllPtrs, 4
IMPORT DPA_DeletePtr, 8
IMPORT DPA_DestroyCallback, 12
IMPORT DPA_EnumCallback, 12
IMPORT DPA_InsertPtr, 12
IMPORT DPA_Search, 24
IMPORT DPA_SetPtr, 12
IMPORT DPA_Sort, 12
IMPORT DSA_Create, 8
IMPORT DSA_Destroy, 4
IMPORT DSA_DestroyCallback, 12
IMPORT DSA_GetItemPtr, 8
IMPORT DSA_InsertItem, 12
IMPORT DefSubclassProc, 16
IMPORT DestroyPropertySheetPage, 4
IMPORT DrawInsert, 12
IMPORT DrawShadowText, 36
IMPORT DrawStatusTextA, 16
IMPORT DrawStatusTextW, 16
IMPORT EnumMRUListW, 16
IMPORT FlatSB_EnableScrollBar, 12
IMPORT FlatSB_GetScrollInfo, 12
IMPORT FlatSB_GetScrollPos, 8
IMPORT FlatSB_GetScrollProp, 12
IMPORT FlatSB_GetScrollRange, 16
IMPORT FlatSB_SetScrollInfo, 16
IMPORT FlatSB_SetScrollPos, 16
IMPORT FlatSB_SetScrollProp, 16
IMPORT FlatSB_SetScrollRange, 20
IMPORT FlatSB_ShowScrollBar, 12
IMPORT FreeMRUList, 4
IMPORT GetEffectiveClientRect, 12
IMPORT GetMUILanguage, 0
IMPORT GetWindowSubclass, 16
IMPORT HIMAGELIST_QueryInterface, 12
IMPORT ImageList_Add, 12
IMPORT ImageList_AddIcon, 8
IMPORT ImageList_AddMasked, 12
IMPORT ImageList_BeginDrag, 16
IMPORT ImageList_Copy, 20
IMPORT ImageList_Create, 20
IMPORT ImageList_Destroy, 4
IMPORT ImageList_DragEnter, 12
IMPORT ImageList_DragLeave, 4
IMPORT ImageList_DragMove, 8
IMPORT ImageList_DragShowNolock, 4
IMPORT ImageList_Draw, 24
IMPORT ImageList_DrawEx, 40
IMPORT ImageList_DrawIndirect, 4
IMPORT ImageList_Duplicate, 4
IMPORT ImageList_EndDrag, 0
IMPORT ImageList_GetBkColor, 4
IMPORT ImageList_GetDragImage, 8
IMPORT ImageList_GetIcon, 12
IMPORT ImageList_GetIconSize, 12
IMPORT ImageList_GetImageCount, 4
IMPORT ImageList_GetImageInfo, 12
IMPORT ImageList_GetImageRect, 12
IMPORT ImageList_LoadImageA, 28
IMPORT ImageList_LoadImageW, 28
IMPORT ImageList_Merge, 24
IMPORT ImageList_Read, 4
IMPORT ImageList_ReadEx, 16
IMPORT ImageList_Remove, 8
IMPORT ImageList_Replace, 16
IMPORT ImageList_ReplaceIcon, 12
IMPORT ImageList_SetBkColor, 8
IMPORT ImageList_SetDragCursorImage, 16
IMPORT ImageList_SetFilter, 12
IMPORT ImageList_SetFlags, 8
IMPORT ImageList_SetIconSize, 12
IMPORT ImageList_SetImageCount, 8
IMPORT ImageList_SetOverlayImage, 12
IMPORT ImageList_Write, 8
IMPORT ImageList_WriteEx, 12
IMPORT InitCommonControls, 0
IMPORT InitCommonControlsEx, 4
IMPORT InitMUILanguage, 4
IMPORT InitializeFlatSB, 4
IMPORT LBItemFromPt, 16
IMPORT MakeDragList, 4
IMPORT MenuHelp, 28
IMPORT PropertySheetA, 4
IMPORT PropertySheetW, 4
IMPORT RegisterClassNameW, 4
IMPORT RemoveWindowSubclass, 12
IMPORT SetWindowSubclass, 16
IMPORT ShowHideMenuCtl, 12
IMPORT Str_SetPtrW, 8
IMPORT UninitializeFlatSB, 4
IMPORT _TrackMouseEvent, 4

%ifdef UNICODE

%define CreatePropertySheetPage CreatePropertySheetPageW
%define CreateStatusWindow CreateStatusWindowW
%define DrawStatusText DrawStatusTextW
%define ImageList_LoadImage ImageList_LoadImageW
%define PropertySheet PropertySheetW

%else  ;// ANSI

%define CreatePropertySheetPage CreatePropertySheetPageA
%define CreateStatusWindow CreateStatusWindowA
%define DrawStatusText DrawStatusTextA
%define ImageList_LoadImage ImageList_LoadImageA
%define PropertySheet PropertySheetA

%endif  ;// UNICODE

%endif  ;// __NASMX_COMCTL32_INC__
